﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Aioms.Common
{
    /// <summary>
    /// 审批人信息
    /// </summary>
    public class ShenPiPersonInfo
    {
        /// <summary>
        /// 审批人ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 审批人姓名
        /// </summary>
        public string Realname { get; set; }

        /// <summary>
        /// 当前角色：报修人/审批人
        /// </summary>
        public string Role { get; set; }

        /// <summary>
        /// 当前角色：报修人/审批人
        /// </summary>
        public Boolean IsActive { get; set; }

        /// <summary>
        /// 审批时间
        /// </summary>
        public string Time { get; set; }

        /// <summary>
        /// 审批结果状态
        /// </summary>
        public string ShStauts { get; set; }

        /// <summary>
        /// 是否评论过
        /// </summary>
        //public Boolean IsCommented { get; set; }

        /// <summary>
        /// 评论
        /// </summary>
        public List<Comments> Comments { get; set; }
    }

    /// <summary>
    /// 评论人信息
    /// </summary>
    public class Comments
    {
        /// <summary>
        /// 评论人姓名
        /// </summary>
        public string Realname { get; set; }

        /// <summary>
        /// 评论美容
        /// </summary>
        public string Result { get; set; }
    }
}
